package com.haiyou.dc.thread;

public class StartThread extends Thread {

    @Override
    public void run() {
        for (int i = 0; i < 200; i++) {
            System.out.println(i + "----->正在唱歌....");
        }
    }

    public static void main(String[] args) {

        StartThread startThread = new StartThread();
        startThread.start();
        startThread.run();

        for (int i = 0; i < 200; i++) {
            System.out.println(i + "----->正在codding。。。。。。");
        }
    }
}
